#include<iostream>
using namespace std;

typedef struct _POINT
{
	int x;
	int y;
}POINT, *pPOINT;

void Func(POINT * _pPoint)
{
	_pPoint->x = 5;
	_pPoint->y = 3;
}
int main()
{
// 	pPOINT p = new POINT;
// 	Func(p);
// 	cout << p->x << p->y;
	int size = 100;
	pPOINT * ppPoint = new pPOINT[size];
	int i = 0; 
	while(i < size)
	{
		//pPOINT pt = new POINT;
		//POINT* pt = new POINT;
		POINT pt;
		pt.x = i*2;
		pt.y = i;
		*(ppPoint[i]) = pt; 
		++i;
	}
	i = 0;
	while(i < size)
	{
		cout << ppPoint[i]->x << ":" << ppPoint[i]->y << endl; 
		++i;
	}
	return 0;
}